<%-- 
    Document   : editNewsletter
    Created on : Jun 1, 2012, 4:19:10 PM
    Author     : Owner
--%>

<%@include file="/jsp/top.jsp" %>
<html:html>
    <head>
        <title>Edit Newsletter</title>
    </head>
    <body class="edit-newsletter">
        <div class="clear"></div>
        <table cellspacing="5px" width="100%" align="center">
            <tr>
                <td>
                    <table cellspacing="5px" width="100%" align="center">
                        <tr>
                            <td style="vertical-align: top;" width="20%">
                                <div class="box-left box-menu">
                                    <div class="block block-account">
                                        <div class="block-title">
                                            <strong>
                                                <span>My Account</span>
                                            </strong>
                                        </div>
                                        <div class="block-content">
                                            <ul>
                                                <li><a class="show-dashboard" href="./userAccount.do?action=showAccountDashboard">Account Dashboard</a></li>
                                                <li><a class="show-dashboard" href="./userAccount.do?action=showEditUserPersonalInfo&changePassword='N'">Account Information</a></li>
                                                <li><a class="show-dashboard" href="./userAccount.do?action=showManageAddress">Manage Address</a></li>
                                                <li><a class="show-dashboard" href="./payment.do?action=showUserOrders">My Orders</a></li>
                                                <li><a class="show-dashboard" href="./userAccount.do?action=showAccountDashboard">My Wishlists</a></li>
                                                <li><a class="show-dashboard" href="./userAccount.do?action=showNewsletter">Newsletter Subscription</a></li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </td>
                            <td style="vertical-align: top;" width="80%">
                                <div class="main-container">
                                    <div class="newsletter default">
                                        <div class="page-title"><h1>Newsletter Subscription</h1></div>

                                        <html:form action="/userAccount" method="post">
                                            <logic:present name="userInfoBean" scope="request">
                                                <logic:equal property="newsLetter" name="userInfoBean" value="1" >
                                                    <div class="chknewsletter"><input type="checkbox" name="newsLetter" checked="checked" value="1" /> General Newsletter Subscription</div>
                                                    </logic:equal>
                                                    <logic:equal property="newsLetter" name="userInfoBean" value="0" >
                                                    <div class="chknewsletter"><html:checkbox property="newsLetter" value="0" /> General Newsletter Subscription</div>
                                                </logic:equal>
                                                <div class="buttons-set editnl">
                                                    <%--<html:submit value="Submit" />--%>
                                                    <a style="float:right;" href="./userAccount.do?action=editNewsletter"><img src="images/submit.png" alt="Submit Button" onmouseover="src='images/submit-hover.png'" onmouseout="src='images/submit.png'"/></a>
                                                </div>
                                            </logic:present>
                                        </html:form>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td><%@include file="/jsp/footer.jsp" %></td>
            </tr>
        </table>


    </body>
</html:html>
